
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.Employee;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Employee entities.
 * 
 */
public interface EmployeeDAO extends JpaDao<Employee> {

	/**
	 * JPQL Query - findEmployeeByRfidContaining
	 *
	 */
	public Set<Employee> findEmployeeByRfidContaining(String rfid) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByRfidContaining
	 *
	 */
	public Set<Employee> findEmployeeByRfidContaining(String rfid, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByLogOn
	 *
	 */
	public Set<Employee> findEmployeeByLogOn(Boolean logOn) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByLogOn
	 *
	 */
	public Set<Employee> findEmployeeByLogOn(Boolean logOn, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNumberContaining
	 *
	 */
	public Set<Employee> findEmployeeByNumberContaining(String number) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNumberContaining
	 *
	 */
	public Set<Employee> findEmployeeByNumberContaining(String number, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeBySexContaining
	 *
	 */
	public Set<Employee> findEmployeeBySexContaining(String sex) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeBySexContaining
	 *
	 */
	public Set<Employee> findEmployeeBySexContaining(String sex, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeBySex
	 *
	 */
	public Set<Employee> findEmployeeBySex(String sex_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeBySex
	 *
	 */
	public Set<Employee> findEmployeeBySex(String sex_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByBirthday
	 *
	 */
	public Set<Employee> findEmployeeByBirthday(java.util.Calendar birthday) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByBirthday
	 *
	 */
	public Set<Employee> findEmployeeByBirthday(Calendar birthday, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPrimaryKey
	 *
	 */
	public Employee findEmployeeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPrimaryKey
	 *
	 */
	public Employee findEmployeeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPassword
	 *
	 */
	public Set<Employee> findEmployeeByPassword(String password) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPassword
	 *
	 */
	public Set<Employee> findEmployeeByPassword(String password, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllEmployees
	 *
	 */
	public Set<Employee> findAllEmployees() throws DataAccessException;

	/**
	 * JPQL Query - findAllEmployees
	 *
	 */
	public Set<Employee> findAllEmployees(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByMemo
	 *
	 */
	public Set<Employee> findEmployeeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByMemo
	 *
	 */
	public Set<Employee> findEmployeeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeById
	 *
	 */
	public Employee findEmployeeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeById
	 *
	 */
	public Employee findEmployeeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPasswordContaining
	 *
	 */
	public Set<Employee> findEmployeeByPasswordContaining(String password_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByPasswordContaining
	 *
	 */
	public Set<Employee> findEmployeeByPasswordContaining(String password_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByState
	 *
	 */
	public Set<Employee> findEmployeeByState(Boolean state) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByState
	 *
	 */
	public Set<Employee> findEmployeeByState(Boolean state, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByRfid
	 *
	 */
	public Set<Employee> findEmployeeByRfid(String rfid_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByRfid
	 *
	 */
	public Set<Employee> findEmployeeByRfid(String rfid_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByMemoContaining
	 *
	 */
	public Set<Employee> findEmployeeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByMemoContaining
	 *
	 */
	public Set<Employee> findEmployeeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNameContaining
	 *
	 */
	public Set<Employee> findEmployeeByNameContaining(String name) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNameContaining
	 *
	 */
	public Set<Employee> findEmployeeByNameContaining(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByName
	 *
	 */
	public Set<Employee> findEmployeeByName(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByName
	 *
	 */
	public Set<Employee> findEmployeeByName(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNumber
	 *
	 */
	public Set<Employee> findEmployeeByNumber(String number_1) throws DataAccessException;

	/**
	 * JPQL Query - findEmployeeByNumber
	 *
	 */
	public Set<Employee> findEmployeeByNumber(String number_1, int startResult, int maxRows) throws DataAccessException;

}